extends "../aisaikesi-3/aisaikesi-3.gd"


var baseId = ""
var upText1 = "善战之舰触发概率+10%"
var upText2 = "善战之舰触发时赋予该舰载机10层<振奋>"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("舰载机额外获得1件不占装备槽第一格装备", "超重起飞")

func castPlane():
	var cha = .castPlane()
	if cha != null and cha.items[0] != null:
		cha.maxItem += 1
		cha.addItem(sys.newItem(cha.items[0].id))
	return cha

func upgrade():
	.upgrade()
	if upgraded == 2:
		p3 = 30